#ifndef __UTILS_H__
#define __UTILS_H__

#include <sys/time.h>
#include <map>
#include "MonkeyContext.h"


typedef std::map<std::string, std::string> StringDictionary;


#ifdef __cplusplus 
extern "C" {
#endif

    extern void timeval_addms(struct timeval *tp, long ms);
    extern void timeval_subms(struct timeval *tp, long ms);
    extern long timeval_diffms(struct timeval *tp1, struct timeval *tp2);
    extern MonkeyContext *CreateStandardMonkeyContext();

#ifdef __cplusplus
}
#endif

#endif /* __UTILS_H__ */

